package com.shop.cloud.model.response.api;

import io.swagger.annotations.ApiModelProperty;
import lombok.ToString;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * @author xiaojun.wang
 */
@ToString(callSuper = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(value = { "hibernateLazyInitializer", "handler",
		"fieldHandler" }, ignoreUnknown = true)
public class ApiGetMessageListResponseModelList {

	@JsonProperty("title")
	@ApiModelProperty(value = "标题", example = "标题", required = true)
	private String title;

	@JsonProperty("detail")
	@ApiModelProperty(value = "详情", example = "1", required = true)
	private String detail;

	@JsonProperty("time")
	@ApiModelProperty(value = "时间", example = "1", required = true)
	private String time;

	@JsonProperty("id")
	@ApiModelProperty(value = "id号", example = "1", required = true)
	private String id;

	@ApiModelProperty(value = "未读条数")
	private Integer count;

	@JsonProperty("orderId")
	@ApiModelProperty(value = "订单id号", example = "1", required = true)
	private String orderId;

	public String getOrderId() {
		return orderId;
	}

	public void setOrderId(String orderId) {
		this.orderId = orderId;
	}

	public Integer getCount() {
		return count;
	}

	public void setCount(Integer count) {
		this.count = count;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getDetail() {
		return detail;
	}

	public void setDetail(String detail) {
		this.detail = detail;
	}

	public String getTime() {
		return time;
	}

	public void setTime(String time) {
		this.time = time;
	}

}
